Skip to content

script to generate schedule YAML from the schedule spreadsheet#48

Merged
phette23 merged 4 commits intomainfrom
schedule-script
Mar 15, 2026
Merged

script to generate schedule YAML from the schedule spreadsheet#48
phette23 merged 4 commits intomainfrom
schedule-script

Conversation

@escowles
Copy link
Member

@escowles escowles commented Jan 13, 2026

This script takes a CSV file modeled after the schedule spreadsheet that is used to schedule talks, breakouts, lunch, etc, etc.

Also creates stub speaker entries (fixes #45) and uses 24-hour time as appropriate (fixes #46)

f.puts "group: #{group}"
f.puts "spot: #{spot}"
f.puts "location: frist" # XXX is this used?
#f.puts "location: frist" # XXX is this used?
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think it hurts to leave this in, but I think the scenario where we would use it (main conference takes place in multiple venues) is pretty rare.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sounds good! I agree it's an unlikely scenario.

@escowles escowles marked this pull request as ready for review March 6, 2026 13:32
Copy link
Member

@phette23 phette23 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Very minor changes, unindent and remove an import, I will push them.


require "csv"
require "time"
require "active_support/all"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think this is used? Maybe it was added by a code editor because of parametrize.

f.puts "group: #{group}"
f.puts "spot: #{spot}"
f.puts "location: frist" # XXX is this used?
#f.puts "location: frist" # XXX is this used?
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sounds good! I agree it's an unlikely scenario.

require "time"
require "active_support/all"

def parameterize(string, separator: "-")
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Also noticed that this function is indented unnecessarily

@phette23 phette23 merged commit e26d917 into main Mar 15, 2026
@phette23 phette23 deleted the schedule-script branch March 15, 2026 21:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

talks.rb and workshops.rb should create stub speaker entries talks.rb should use 24 hour time

2 participants